import App from './App'
import { createSSRApp } from 'vue'
import request from '@/utils/request.js'
import { checkLogin } from '@/utils/user.js'
import store from './store/index.js'
store.commit('clacNavHeight')
export function createApp() {
  const app = createSSRApp(App)
  app.config.globalProperties.$request = request;
  app.config.globalProperties.$checkLogin = checkLogin;
  app.use(store)
  return {
    app
  }
}